package com.wanghaoran.service;

import com.github.pagehelper.PageInfo;
import com.wanghaoran.dto.*;
import com.wanghaoran.entity.Dept;
import com.wanghaoran.entity.School;
import com.wanghaoran.excel.DeptExcel;
import com.wanghaoran.excel.SchoolExcel;
import com.wanghaoran.vo.DeptVO;
import com.wanghaoran.vo.SchoolVO;

import java.util.List;

/**
 * @author wanghaoran
 */

public interface DeptService {

    int insert(DeptInsertDTO dto);

    Dept select(Long id);

    List<DeptVO> list();

    PageInfo<Dept> page(DeptPageDTO dto);

    int update(DeptUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<DeptExcel> getExcelData();
}
